package com.china08.yxyapi.entity.mg.sws;

import javax.persistence.Id;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.china08.yxyapi.entity.mg.MongoBaseEntityNoId;

/**
 * 网站总共统计
 * 
 * @author Richard.Wang
 * 
 */
@Document(collection = "sws_pv_total_analyze")
public class SwsPvForTotalAnalyze extends MongoBaseEntityNoId {

    /**
     * 
     */
    private static final long serialVersionUID = 6433594945210176939L;

    @Id
    private String id;
    /**
     * 学校id
     */
    @Field(value = "school_id")
    private String schoolId;

    /** 访问统计 */
    @Field(value = "pv")
    private Long pv;

    public String getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(String schoolId) {
        this.schoolId = schoolId;
    }

    public Long getPv() {
        return pv;
    }

    public void setPv(Long pv) {
        this.pv = pv;
    }

}
